<template>
  <div class="header-icon">
    <i class="icon-i"></i>
    {{ titleName }}
    <slot name="title-extra"></slot>
  </div>
</template>

<script lang="ts">
import Vue from 'vue';
import { Prop, Component } from 'vue-property-decorator';
@Component({})
export default class TitleIcon extends Vue {
  @Prop(String)
  titleName!: string;
}
</script>

<style lang="less">
@import './index.less';
</style>
